package com.cavy.platform.server;

import com.cavy.platform.server.domain.AgentConfig;
import com.cavy.platform.server.domain.JobConfig;
import com.cavy.platform.server.domain.PluginConfig;
import com.cavy.platform.server.domain.WorkspaceConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 唐旭
 * @Date 2018/7/17
 */
@Component
@ConfigurationProperties(prefix = "cavy")
@Data
public class CavyConfig {
    private String baseDir;
    private PluginConfig plugin;
    private WorkspaceConfig workspace;
    private AgentConfig agent;
    private JobConfig job;
    private ConfigMapSetting configMap;
}
